package predicates;

public class In {

	private String crate;
	private String truck;
	public String getCrate() {
		return crate;
	}
	public void setCrate(String crate) {
		this.crate = crate;
	}
	public String getTruck() {
		return truck;
	}
	public void setTruck(String truck) {
		this.truck = truck;
	}
	public In(String crate, String truck) {
		super();
		this.crate = crate;
		this.truck = truck;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		In other = (In) obj;
		if (crate == null) {
			if (other.crate != null)
				return false;
		} else if (!crate.equals(other.crate))
			return false;
		if (truck == null) {
			if (other.truck != null)
				return false;
		} else if (!truck.equals(other.truck))
			return false;
		return true;
	}
	
	
	
}
